package cat;

/**
 * @author DCSGO
 * @version 1.0
 */
public class Cat {
    private String name;
    public int age;

    public void hi() {
        System.out.println(name + " 喵喵叫~");
    }

    public void met() {

    }

    public void move() {
        System.out.println(name + " 在跑！");
    }

    public Cat() {
        this.name = "招财猫";
        this.age = 1;
    }


    public Cat(String name) {
        this.age = 1;
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
